Selecting a Web Service and a Time-Frame for a Business Measure |
|
The published Business Measure (BM) is saved as a Web service and can be used to in a KPI or Dashboard to view the results of the defined query. You can define a timeframe to execute the BM in that time period.
- Select any one of the Web service Definition Set option under Select Web service Definition Setsection:
Option Description New Select New option, if you want to provide a new Web service Definition set to the BM. This option is selected by default. The Web service Definition Set Name and Web service Definition Set Namespace fields are enabled; enter a name and namespace in the respective fields. By default, the Web service Definition Set Name gets filled by the BM name.
Note: The Web service Definition Set Name and Web service Definition Set Namespace are mandatory fields and should not begin with a number. Blank spaces or special characters are not allowed.Existing Select Existing option, if you want to apply any existing Web service Definition set. The Existing Web service Definition Set Name field is enabled with .
Note: The Existing Web service Definition Set Name is a mandatory field and it should not begin with a number. Blank spaces or special characters are not allowed. Click , and select the web service Definition Set name from the Select Web service Definition Set dialog. The Existing Web service Definition Set Namespace field remains disabled. Depending on the Web service Definition Set you select, this field is populated with Namespace automatically.
Select the required Time Frame option:
Option | Action |
---|---|
Static Range | The Static Range option fetches data for the range falling within the specified From and To dates. Both the From and To are mandatory fields for Static Range. The Static Range option is selected when you visit this page for the first time, by default. |
Rolling Dates | Select the Rolling Dates option to fetch data from a repeating time period of a specific length that moves continuously, which can be year, month, week, day, hour, minute, or second. Only one such period is selected to calculate the BM; for example, the last month. You must also select whether to evaluate data for the Last full period or for the Current period in progress.
When the Last full period option is considered and the time period is configured in terms of hours, minutes, or seconds, it will be based on the UTC standard.
|
If you choose Static Range option, From and To date fields are enabled. If you choose Rolling Dates choice, the Period and Base Period fields are enabled. Note: When you select one of the above options, the fields in the remaining option will automatically be disabled.
- To get data for a specified range, select Static Range option.
- Click , next to From, to select the start date to fetch the data.
- Click , next to To, to select the end date to fetch the data.
- To get data based on rolling dates, select Rolling Dates option.
- Type the period in Period and select the duration in the range of Minute(s) or Hour(s) or Day(s) or Week(s) or Month(s) from the drop-down.
- Select one of the following options as the Base Period:
Option Description Last Completed 'Period' Data required for last full period. Current 'Period' in-progress Data required for current period in-progress.
The Web service and Time Frame for the BM are selected.
After you complete this task:
- Click Finish to complete the creation of a BM. The BM and the corresponding composite control is created and is added to the project content tree.
Note: The BM gives a processed value based on the underlying query and the time frame (if applicable) defined in BM Editor. - The BM created is available as a composite control and you can drag the composite control on Dashboard (XForms) designer. Specify properties (on right click or double-click the composite control) to it like view type, ranges, input parameters, and so on, and then view it in the dashboard.
Note:
- For further details on creating a User Interface (XForm) and the task that is automatically generated when you create a user interface refer Creating XForms.
- Save the XForm and assign it to a user or role. For more details on assigning the XForm to a user, refer to Assigning Tasks to Users. You can access the dashboard created through XForms designer.
- You must publish the BM.